std::forward_list::empty
From Cppreference
< cpp | container | forward list
| bool empty() const;
| (C++0x feature) | |
Checks if the container has no elements, i.e. whether begin() == end().
Parameters
(none)
Return value
true if the container is empty, false otherwise
Complexity
constant